import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import store from '@/store'
import ElementUI from 'element-ui'
import './assets/reset.css';
import 'element-ui/lib/theme-chalk/index.css';
import TopGitment from 'top-gitment'

import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

import axios from "@/api/http"

Vue.config.productionTip = false
Vue.prototype.$http = axios //axios注册为vue原型的方法
Vue.use(ElementUI)
Vue.use(mavonEditor)
Vue.use(TopGitment)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
